<script type="text/javascript">
    $(document).ready(function(){
        $('.editinline').live("click",function(){
            var id = $(this).parent().parent().parent().parent().attr('rel');
            var dataString = "task=loadUserByID&user_id="+id;
            
           $.ajax({
               type:'POST',
               url :'<?php echo BASE_URL_ADMIN ?>ajax/ajax.php',
               cache : false,
               dataType:'json',  
               data : dataString,
               success : function(data){
                    $.each(data,function(index,dt){
                        alert(index);
                    })
     			},
     			error : function(errormessage) {
                    alert(errormessage.responseText);
     			} 
            });
            alert(dataString);
        })
    })
</script>
<form method="get" action=""><table style="display: block">
    <tbody id="inlineedit">
		
		<tr id="inline-edit" class="inline-edit-row inline-edit-row-post inline-edit-post quick-edit-row quick-edit-row-post inline-edit-post" style="display: none">
        <td>

		<fieldset class="inline-edit-col-left"><div class="inline-edit-col">
			<h4>Sửa nhanh</h4>
	
			<label>
				<span class="title">Tên</span>
				<span class="input-text-wrap"><input type="text" value="LG OPTIMUS 3DMAX P 725"></span>
			</label>

			<label>
				<span class="title">SEO name</span>
				<span class="input-text-wrap"><input type="text" value="LG OPTIMUS 3DMAX P 725"></span>
			</label>
            
            <label>
				<span class="title">Từ khóa</span>
				<span class="input-text-wrap"><input type="text" value="LG OPTIMUS 3DMAX P 725"></span>
			</label>
            <label class="inline-edit-author alignleft">
            	<span class="title">Thuộc tính</span>
            	<select name="post_author" class="authors" style="width:160px;">
                    <option value="1">Thuộc tính 1</option>
                    <option value="3">Thuộc tính 2</option>
                    <option value="4">Thuộc tính 3</option>
				</select>
			</label>
            <label class="inline-edit-author alignleft">
            	<span class="title" style="padding-left:10px;">Trạng thái</span>
            	<select name="post_author" class="authors" style="width:160px;">
                    <option value="1">Trạng thái 1</option>
                    <option value="3">Trạng thái 2</option>
                    <option value="4">Trạng thái 3</option>
				</select>
			</label>

				<br class="clear">
				<label><span class="title">Update</span></label>
			<div class="inline-edit-date">
				<div class="timestamp-wrap">
                <select style="width:50px;">
                    <option value="01">01</option>
                    <option value="02">02</option>
                    <option value="03">03</option>
                    <option value="04">04</option>
                    <option value="05">05</option>
                    <option value="06">06</option>
                    <option value="07">07</option>
                    <option value="08">08</option>
                    <option value="09">09</option>
                    <option value="10">10</option>
                    <option value="11">11</option>
                    <option value="12" selected="selected">12</option>
			  </select>
              <input type="text" value="09" size="2" maxlength="2">, 
              <input type="text" value="2012" size="4" maxlength="4"> @ 
              <input type="text" value="2" size="2" maxlength="2"> : 
              <input type="text" value="05" size="2" maxlength="2">
              </div><input type="hidden" id="ss" name="ss" value="05">			
              </div>
			<br class="clear">	

	
		</div></fieldset>

	
		<fieldset class="inline-edit-col-center inline-edit-categories">
        <div class="inline-edit-col">
			<span class="title inline-edit-categories-label">Ngàng hàng<span class="catshow"> (Thêm)</span>
				<span class="cathide" style="display:none;">[less]</span>
			</span>
			<input type="hidden" name="post_category[]" value="0">
			<ul class="cat-checklist category-checklist">
                <li id="category-8">
                	<label><input value="8" type="checkbox"> Máy tính</label>
                	<ul class="children">
                		<li><label><input value="10" type="checkbox"> Laptop</label></li>
                		<li><label><input value="11" type="checkbox">  Máy tính bảng</label></li>
                    </ul>
				</li>
				<li><label><input value="1" type="checkbox">  Điện thoại</label></li>
				<li><label><input value="7" type="checkbox">  Kỹ thuật số</label></li>
                <li><label><input value="8" type="checkbox">  Phụ kiện</label></li>
			</ul>
		</div></fieldset>
        
		<fieldset class="inline-edit-col-right"><div class="inline-edit-col">
        
        		<label class="inline-edit-tags">
				<span class="title"><strong><i>Mô tả ngắn</i></strong></span>
				<textarea cols="22" rows="1" name="tax_input[post_tag]" class="tax_input_post_tag">(dienmay.com) Từ ngày 01/09/2012 đến ngày 30/09/2012, khi khách hàng mua tivi SAMSUNG tại hệ thống dienmay.com sẽ được nhận những phần quà giá trị như DVD SAMSUNG, máy ép trái cây, lẫu điện với giá trị lên đến 2,600,000 đồng.
                </textarea>
			</label>
			<div class="inline-edit-group">
				<label class="alignleft">
					<input type="checkbox" name="comment_status" value="open">
					<span class="checkbox-title">Cho bình luận</span>
				</label>
			</div>	
		</div></fieldset>

			<p class="submit inline-edit-save">
			<a accesskey="c" href="#" title="Cancel" class="button-secondary cancel alignleft">Cancel</a>
			<input type="hidden" id="_inline_edit" name="_inline_edit" value="">
            <a accesskey="s" href="#" title="Update" class="button-primary save alignright">Update</a>
				<img class="waiting" style="display:none;" src="addnew_files/wpspin_light.gif" alt="">
				
             <input type="hidden" name="post_view" value="list">
			<input type="hidden" name="screen" value="edit-post">
			<span class="error" style="display:none"></span>
			<br class="clear">
		</p>
		</td>
            <input type="hidden" id="user_id" value="" />
        </tr>
	</tbody>
  </table>
  </form